﻿namespace MingYuanYun.StructuredLog.Abstractions
{
    public class NamedMyLogger
    {
        public NamedMyLogger(IMyLogger logger, string loggerName)
        {
            this.MyLogger = logger;
            this.LoggerName = string.IsNullOrWhiteSpace(loggerName) ? "-" : loggerName;
        }

        internal IMyLogger MyLogger { get; }

        internal string LoggerName { get; }
    }
}
